package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 汽车对象 car
 *
 * @author ruoyi
 * @date 2024-04-11
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long carId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 汽车状态 */
    @Excel(name = "汽车状态")
    private String carStatus;

    /** 汽车保险状态 */
    @Excel(name = "汽车保险状态")
    private String insuranceStatus;

    /** 汽车品牌 */
    @Excel(name = "汽车品牌")
    private String carBrand;

    /** 汽车颜色 */
    @Excel(name = "汽车颜色")
    private String carColor;

    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }
    public void setLicensePlate(String licensePlate)
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate()
    {
        return licensePlate;
    }
    public void setCarStatus(String carStatus)
    {
        this.carStatus = carStatus;
    }

    public String getCarStatus()
    {
        return carStatus;
    }
    public void setInsuranceStatus(String insuranceStatus)
    {
        this.insuranceStatus = insuranceStatus;
    }

    public String getInsuranceStatus()
    {
        return insuranceStatus;
    }
    public void setCarBrand(String carBrand)
    {
        this.carBrand = carBrand;
    }

    public String getCarBrand()
    {
        return carBrand;
    }
    public void setCarColor(String carColor)
    {
        this.carColor = carColor;
    }

    public String getCarColor()
    {
        return carColor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("carId", getCarId())
                .append("licensePlate", getLicensePlate())
                .append("carStatus", getCarStatus())
                .append("insuranceStatus", getInsuranceStatus())
                .append("carBrand", getCarBrand())
                .append("carColor", getCarColor())
                .toString();
    }
}
